
package com.city.project.dao;

import com.city.project.model.User;

import java.sql.SQLException;
import java.util.List;

public interface IUserDao {

    List<User> getList() ;

    User getOne(int id) ;

    int insert(User user) ;

    int delete(int id) ;

    int update(User user) ;

    User getByName(String username) ;

}
